﻿using System.IO;

namespace ETModel
{
    public interface IMHeader
    {
        int ID
        {
            get;
            set;
        }
        byte RpcId
        {
            get;
            set;
        }
        byte ErrorCode
        {
            get;
            set;
        }

        void Deserialize(MemoryStream stream);
        void Serialize(MemoryStream stream);

        void Clear();
    }
}
